package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_classpath implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$

    public _jet_classpath() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_c_replaceStrings_1_1 = new TagInfo("c:replaceStrings", //$NON-NLS-1$
            1, 1,
            new String[] {
                "replace", //$NON-NLS-1$
                "with", //$NON-NLS-1$
            },
            new String[] {
                "%Left_angle_brackets,%Right_angle_brackets", //$NON-NLS-1$
                "<,>", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        RuntimeTagElement _jettag_c_replaceStrings_1_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "replaceStrings", "c:replaceStrings", _td_c_replaceStrings_1_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_replaceStrings_1_1.setRuntimeParent(null);
        _jettag_c_replaceStrings_1_1.setTagInfo(_td_c_replaceStrings_1_1);
        _jettag_c_replaceStrings_1_1.doStart(context, out);
        JET2Writer _jettag_c_replaceStrings_1_1_saved_out = out;
        while (_jettag_c_replaceStrings_1_1.okToProcessBody()) {
            out = out.newNestedContentWriter();
            out.write("%Left_angle_brackets?xml version=\"1.0\" encoding=\"UTF-8\"?%Right_angle_brackets");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("<classpath>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t<classpathentry kind=\"src\" path=\"cmi\"/>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t<classpathentry kind=\"src\" path=\"src\"/>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t<classpathentry kind=\"con\" path=\"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8\">");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t<attributes>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t\t<attribute name=\"owner.project.facets\" value=\"java\"/>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t</attributes>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t</classpathentry>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t<classpathentry kind=\"con\" path=\"org.eclipse.jst.j2ee.internal.web.container\"/>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t<classpathentry kind=\"con\" path=\"org.eclipse.jst.j2ee.internal.module.container\"/>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t<classpathentry kind=\"con\" path=\"org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v9.0\"/>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t<classpathentry kind=\"output\" path=\"WebRoot/WEB-INF/classes\"/>");  //$NON-NLS-1$        
            out.write(NL);         
            //maven依赖
            out.write("\t<classpathentry kind=\"con\" path=\"org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER\">");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t<attributes>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t\t<attribute name=\"maven.pomderived\" value=\"true\"/>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t\t<attribute name=\"org.eclipse.jst.component.dependency\" value=\"/WEB-INF/lib\"/>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t\t</attributes>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t</classpathentry>");  //$NON-NLS-1$        
            out.write(NL);         
            out.write("\t");  //$NON-NLS-1$        
            out.write(NL);         
            //	<classpathentry kind="output" path="build/classes"/>  tjw
            out.write("</classpath>");  //$NON-NLS-1$        
            out.write(NL);         
            _jettag_c_replaceStrings_1_1.handleBodyContent(out);
        }
        out = _jettag_c_replaceStrings_1_1_saved_out;
        _jettag_c_replaceStrings_1_1.doEnd();
    }
}
